package pure.engine 
{
	import flash.events.EventDispatcher;
	import flash.events.IEventDispatcher;
	import pure.engine.core.DelayManager;
	import pure.engine.core.InputManager;
	import pure.engine.core.ProcessManager;
	
	import pure.engine.core.ns_despair;
	use namespace ns_despair;
	
	/**
	 * 多功能实用工具
	 * [Author] - PURE
	 * 
	 */
public class Multiple 
{
	
	/**
	 * 进程管理器
	 */
	public static function get process():ProcessManager
	{
		return ProcessManager.instance;
	}

	
	/**
	 * 延迟管理器
	 */
	public static function get delay():DelayManager
	{
		return m_delay || (m_delay = new DelayManager());
	}
	
	
	/**
	 * 输入管理器
	 */
	public static function get input():InputManager
	{
		return m_input || (m_input = new InputManager());
	}
	

	/**
	 * 事件侦听器
	 */
	public static function get notifier():IEventDispatcher
	{
		return m_notifier;
	}
	
	
	
	
	
	//======================
	// Member
	//======================


	ns_despair static var m_delay:DelayManager;
	
	ns_despair static var m_input:InputManager;
	
	ns_despair static var m_notifier:IEventDispatcher = new EventDispatcher();
	
	
}

}